User Defined Function Reference

Below is a complete list of the user defined functions available in AutoIt.  Click on a user defined function name for a detailed description.

 

User Defined Function Description
_ArrayAdd Adds a specified value at the end of an array, returning the adjusted array.
_ArrayBinarySearch Uses the binary search algorithm to search through a 1-dimensional array.
_ArrayCreate Create a small array and quickly assign values.
_ArrayDelete Deletes the specified element from the given array, returning the adjusted array.
_ArrayDisplay Displays a 1-dimensional array in a message box.
_ArrayInsert Inserts the a new string at the specified element into an array, returning the adjusted array.
_ArrayMax Returns the highest value held in an array.
_ArrayMaxIndex Returns the index where the highest value occurs in the array.
_ArrayMin Returns the lowest value held in an array.
_ArrayMinIndex Returns the index where the lowest value occurs in the array.
_ArrayPop Returns the last element of an array, deleting that element from the array at the same time.
_ArrayPush Add new values without increasing array size.Either by inserting at the end the new value and deleting the first one or vice versa.
_ArrayReverse Takes the given array and reverses the order in which the elements appear in the array.
_ArraySearch Finds an entry within an one-dimensional array. (Similar to _ArrayBinarySearch() except the array does not need to be sorted.)
_ArraySort Sort a mutiple dimensional Array.
_ArraySwap Swaps two elements of an array.
_ArrayToClip Sends the contents of an array to the clipboard.
_ArrayToString Places the elements of an array into a single string, separated by the specified delimiter.
_ArrayTrim Trims all elements in an array a certain number of characters.
_ChooseColor Creates a Color dialog box that enables the user to select a color.
_ChooseFont Creates a Font dialog box that enables the user to choose attributes for a logical font.
_ClipPutFile Copy Files to Clipboard Like Explorer does
_ColorGetBlue Returns the blue component of a given color.
_ColorGetGreen Returns the green component of a given color.
_ColorGetRed Returns the red component of a given color.
_DateAdd Calculates a new date based on a given date and add an interval.
_DateDayOfWeek Returns the name of the weekday, based on the specified day.
_DateDaysInMonth Returns the number of days in a month, based on the specified month and year.
_DateDiff Returns the difference between 2 dates, expressed in the type requested.
_DateIsLeapYear Checks a given year to see if it is a leap year.
_DateIsValid Checks the given date to determine if it is a valid date.
_DateTimeFormat Returns the date in the PC's regional settings format.
_DateTimeSplit Split a string containing Date and Time into two separate Arrays.
_DateToDayOfWeek Returns the weekdaynumber for a given date.
_DateToDayOfWeekISO Returns the ISO weekdaynumber for a given date.
_DateToDayValue Returns the daynumber since since noon 4713 BC January 1 for a given Gregorian date.
_DayValueToDate Add the given days since noon 4713 BC January 1 and returns the Gregorian date.
_Degree Converts radians to degrees.
_FileCountLines Returns the number of lines in the specified file.
_FileCreate Creates or zero's out the length of the file specified.
_FileListToArray lists files and\or folders in a specified path (Similar to using Dir with the /B Switch)
_FilePrint Prints a plain text file.
_FileReadToArray Reads the specified file into an array.
_FileWriteFromArray Writes Array records to the specified file.
_FileWriteLog Writes current date,time and the specified text to a log file.
_FileWriteToLine Writes text to a specific line in a file.
_GetIP Get public IP address of a network/computer.
_GUICtrlComboAddDir Add names to the list displayed by the combo box
_GUICtrlComboAddString Add a string to the list box of a combo box
_GUICtrlComboAutoComplete AutoComplete a combo box input
_GUICtrlComboDeleteString Delete a string in the list box of a combo box
_GUICtrlComboFindString Return the index of matching item
_GUICtrlComboGetCount Retrieve the number of items in the list box of a combo box
_GUICtrlComboGetCurSel Retrieve the index of the currently selected item, if any, in the list box of a combo box
_GUICtrlComboGetDroppedControlRect Retrieve the screen coordinates of a combo box in its dropped-down state.
_GUICtrlComboGetDroppedState Determine whether the list box of a combo box is dropped down
_GUICtrlComboGetDroppedWidth Retrieve the minimum allowable width, of the list box of a combo box
_GUICtrlComboGetEditSel Get the starting and ending character positions of the current selection in the edit control of a combo box.
_GUICtrlComboGetExtendedUI Determine whether a combo box has the default user interface or the extended user interface
_GUICtrlComboGetHorizontalExtent Retrieve from a combo box the width, in pixels
_GUICtrlComboGetItemHeight Determine the height of list items or the selection field in a combo box
_GUICtrlComboGetLBText Retrieve a string from the list of a combo box.
_GUICtrlComboGetLBTextLen Retrieve the length, in characters, of a string in the list of a combo box
_GUICtrlComboGetList Retrieves all items from the list portion of a ComboBox control.
_GUICtrlComboGetLocale Retrieve the current locale of the combo box
_GUICtrlComboGetMinVisible Get the minimum number of visible items in the drop-down list of a combo box
_GUICtrlComboGetTopIndex Retrieve the zero-based index of the first visible item in the list box portion of a combo box
_GUICtrlComboInitStorage Allocates memory for storing list box portion of the combo box items
_GUICtrlComboInsertString Insert a string into the list box of a combo box
_GUICtrlComboLimitText Limit the length of the text the user may type into the edit control of a combo box
_GUICtrlComboResetContent Remove all items from the list box and edit control of a combo box
_GUICtrlComboSelectString Search the list of a combo box for an item that begins with the characters in a specified string
_GUICtrlComboSetCurSel Select a string in the list of a combo box
_GUICtrlComboSetDroppedWidth Set the maximum allowable width
_GUICtrlComboSetEditSel Select characters in the edit control of a combo box
_GUICtrlComboSetExtendedUI Select either the default user interface or the extended user interface
_GUICtrlComboSetHorizontalExtent Set the width, in pixels
_GUICtrlComboSetItemHeight Set the height of list items or the selection field in a combo box
_GUICtrlComboSetMinVisible Set the minimum number of visible items in the drop-down list of a combo box
_GUICtrlComboSetTopIndex Ensure that a particular item is visible
_GUICtrlComboShowDropDown Show or hide the list box of a combo box
_GUICtrlEditCanUndo Determines whether there are any actions in an edit control's undo queue.
_GUICtrlEditEmptyUndoBuffer Resets the undo flag of an edit control.
_GUICtrlEditFind Find/Replace text in an Edit control
_GUICtrlEditGetFirstVisibleLine Retrieves the zero-based index of the uppermost visible line in a multiline edit control.
_GUICtrlEditGetLineCount Retrieves the number of lines in a multiline edit control.
_GUICtrlEditGetModify Retrieves the state of an edit control's modification flag.
_GUICtrlEditGetRECT Retrieves the formatting rectangle of an edit control.
_GUICtrlEditGetSel Retrieves the starting and ending character positions of the current selection in an edit control.
_GUICtrlEditLineFromChar Retrieves the index of the line that contains the specified character index in a multiline edit control.
_GUICtrlEditLineIndex Retrieves the character index of the first character of a specified line in a multiline edit control.
_GUICtrlEditLineLength Retrieves the length, in characters, of a line in an edit control.
_GUICtrlEditLineScroll Scrolls the text in a multiline edit control.
_GUICtrlEditReplaceSel Replaces the current selection in an edit control with the specified text.
_GUICtrlEditScroll Scrolls the text vertically in a multiline edit control.
_GUICtrlEditSetModify Sets or clears the modification flag for an edit control.
_GUICtrlEditSetRECT Sets the formatting rectangle of an edit control.
_GUICtrlEditSetSel Selects a range of characters in an edit control.
_GUICtrlEditUndo Undoes the last edit control operation in the control's undo queue.
_GUICtrlListAddDir Add File/Folder names to the list displayed by the list box
_GUICtrlListAddItem Add an item to the List
_GUICtrlListClear Remove all items from the list box
_GUICtrlListCount Get the number of items in the list box
_GUICtrlListDeleteItem Delete an Item from the List
_GUICtrlListFindString Return the index of matching item
_GUICtrlListGetAnchorIndex Get the Anchor Index
_GUICtrlListGetCaretIndex Return index of item that has the focus rectangle
_GUICtrlListGetHorizontalExtent Retrieve from a list box the the scrollable width (pixels)
_GUICtrlListGetInfo Retrieve the number of items per column in a specified list box.
_GUICtrlListGetItemRect Retrieve the dimensions of the rectangle that bounds a list box item.
_GUICtrlListGetLocale Current Locale of the listbox
_GUICtrlListGetSelCount Get the number of items selected
_GUICtrlListGetSelItems Get item indices of selected items
_GUICtrlListGetSelItemsText Get the text of selected items
_GUICtrlListGetSelState Get the selection state of item
_GUICtrlListGetText Returns the item (string) at the specified index
_GUICtrlListGetTextLen Alternative to StringLen
_GUICtrlListGetTopIndex Retrieve the index of the first visible item in a list
_GUICtrlListInsertItem Insert a string into the list
_GUICtrlListReplaceString Replaces the text of an item at index
_GUICtrlListSelectedIndex Return the index of selected item
_GUICtrlListSelectIndex Select a string and scroll it into view, if necessary
_GUICtrlListSelectString Select item using search string
_GUICtrlListSelItemRange Select range by index in a multiple-selection list box
_GUICtrlListSelItemRangeEx Selects items from $i_start to $i_stop
_GUICtrlListSetAnchorIndex Set the Anchor Index
_GUICtrlListSetCaretIndex Set the focus rectangle to the item at the specified index.
_GUICtrlListSetHorizontalExtent Set the width, in pixels, by which a list box can be scrolled horizontally
_GUICtrlListSetLocale Set the locale
_GUICtrlListSetSel Select string(s) in a multiple-selection list box
_GUICtrlListSetTopIndex Ensure that a particular item in a list box is visible
_GUICtrlListSort Re-sorts list box if it has the $LBS_SORT style
_GUICtrlListSwapString Swaps the text of two items at the specified indices
_GUICtrlListViewCopyItems Copy Items between 2 list-view controls
_GUICtrlListViewDeleteAllItems Removes all items from a list-view control
_GUICtrlListViewDeleteColumn Removes a column from a list-view control
_GUICtrlListViewDeleteItem Removes an item from a list-view control
_GUICtrlListViewDeleteItemsSelected Deletes item(s) selected
_GUICtrlListViewEnsureVisible Ensures that a list-view item is either entirely or partially visible
_GUICtrlListViewGetBackColor Retrieves the background color of a list-view control
_GUICtrlListViewGetCallBackMask Retrieves the callback mask for a list-view control
_GUICtrlListViewGetCheckedState Returns the check state for a list-view control item
_GUICtrlListViewGetColumnOrder Retrieves the current left-to-right order of columns in a list-view control.
_GUICtrlListViewGetColumnWidth Retrieves the width of a column in report or list view
_GUICtrlListViewGetCounterPage Calculates the number of items that can fit vertically in the visible area of a list-view control
_GUICtrlListViewGetCurSel Retrieve the index of current selection
_GUICtrlListViewGetExtendedListViewStyle Retrieves the extended styles that are currently in use for a given list-view control
_GUICtrlListViewGetHeader Retrieves the handle to the header control used by the list-view control
_GUICtrlListViewGetHotCursor Retrieves the HCURSOR value used when the pointer is over an item while hot tracking is enabled
_GUICtrlListViewGetHotItem Retrieves the index of the hot item
_GUICtrlListViewGetHoverTime Retrieves the amount of time that the mouse cursor must hover over an item before it is selected
_GUICtrlListViewGetItemCount Retrieves the number of items in a list-view control
_GUICtrlListViewGetItemText Retrieves some or all of a list-view item
_GUICtrlListViewGetItemTextArray Retrieves all of a list-view item
_GUICtrlListViewGetNextItem Returns the index of the next item
_GUICtrlListViewGetSelectedCount Determines the number of selected items in a list-view control
_GUICtrlListViewGetSelectedIndices Retrieve indices of selected item(s) in a list-view control
_GUICtrlListViewGetSubItemsCount Retrieve the number of columns
_GUICtrlListViewGetTopIndex Retrieves the index of the topmost visible item when in list or report view
_GUICtrlListViewGetUnicodeFormat Retrieves the UNICODE character format flag for the control
_GUICtrlListViewHideColumn Hides the column "sets column width to zero"
_GUICtrlListViewInsertColumn Inserts a column into a list-view control
_GUICtrlListViewInsertItem Inserts a new item in a list-view control.
_GUICtrlListViewJustifyColumn Set Justification of a column for a list-view control
_GUICtrlListViewScroll Scrolls the content of a list-view control
_GUICtrlListViewSetCheckState Sets the checked state of a list-view control item
_GUICtrlListViewSetColumnHeaderText Change the text of a column header for a list-view control
_GUICtrlListViewSetColumnOrder Sets the left-to-right order of columns in a list-view control.
_GUICtrlListViewSetColumnWidth Changes the width of a column
_GUICtrlListViewSetHotItem Sets the hot item for a list-view control
_GUICtrlListViewSetHoverTime Sets the amount of time which the mouse cursor must hover over an item before it is selected
_GUICtrlListViewSetItemCount Causes the list-view control to allocate memory for the specified number of items.
_GUICtrlListViewSetItemSelState Sets the Item Selected/UnSelected
_GUICtrlListViewSetItemText Changes the text of a list-view item or subitem.
_GUICtrlListViewSort Sorts a list-view control.
_GUICtrlMonthCalGet1stDOW Retrieves the first day of the week for a month calendar control.
_GUICtrlMonthCalGetColor Retrieves the color for a given portion of a month calendar control.
_GUICtrlMonthCalGetDelta Retrieves the scroll rate for a month calendar control.
_GUICtrlMonthCalGetMaxSelCount Retrieves the maximum date range that can be selected in a month calendar control.
_GUICtrlMonthCalGetMaxTodayWidth Retrieves the maximum width of the "today" string in a month calendar control.
_GUICtrlMonthCalGetMinReqRECT Retrieves the minimum size required to display a full month in a month calendar control.
_GUICtrlMonthCalSet1stDOW Sets the first day of the week for a month calendar control.
_GUICtrlMonthCalSetColor Sets the color for a given portion of a month calendar control.
_GUICtrlMonthCalSetDelta Sets the scroll rate for a month calendar control.
_GUICtrlMonthCalSetMaxSelCount Sets the maximum number of days that can be selected in a month calendar control.
_GUICtrlSliderClearTics Removes the current tick marks from a slider.
_GUICtrlSliderGetLineSize Retrieves the number of logical positions the slider moves.
_GUICtrlSliderGetNumTics Retrieves the number of tick marks from a slider.
_GUICtrlSliderGetPageSize Retrieves the number of logical positions the slider moves.
_GUICtrlSliderGetPos Retrieves the logical position the slider.
_GUICtrlSliderGetRangeMax Retrieves the maximum position for the slider.
_GUICtrlSliderGetRangeMin Retrieves the minimum position for the slider.
_GUICtrlSliderSetLineSize Sets the number of logical positions the slider moves.
_GUICtrlSliderSetPageSize Sets the number of logical positions the slider moves.
_GUICtrlSliderSetPos Sets the current logical position of the slider.
_GUICtrlSliderSetTicFreq Sets the interval frequency for tick marks in a slider.
_GUICtrlStatusBarCreate Creates Statusbar
_GUICtrlStatusBarGetBorders Gets width of the borders.
_GUICtrlStatusBarGetIcon Gets Statusbar panel Icon handle.
_GUICtrlStatusBarGetParts Retrieves a count of the parts in a status window.
_GUICtrlStatusBarGetRect Retrieves the bounding rectangle of a part in a status window.
_GUICtrlStatusBarGetText Gets Statusbar Text from a part.
_GUICtrlStatusBarGetTextLength Retrieves the length, in characters, of the text from the specified part of a status window.
_GUICtrlStatusBarGetTip Gets Statusbar TipText.
_GUICtrlStatusBarGetUnicode Retrieves the Unicode character format flag for the control.
_GUICtrlStatusBarResize Resize Statusbar.
_GUICtrlStatusBarSetBKColor Sets the background color in a status bar.
_GUICtrlStatusBarSetIcon Sets an Icon in the Panel.
_GUICtrlStatusBarSetMinHeight Sets the minimum height of a status window's drawing area.
_GUICtrlStatusBarSetSimple Specifies whether a status window displays simple text or displays all window parts.
_GUICtrlStatusBarSetText Sets the text in the specified part of a status window.
_GUICtrlStatusBarSetTip Sets the ToolTip text for a part in a status bar.
_GUICtrlStatusBarSetUnicode Sets the Unicode character format flag for the control.
_GUICtrlTabDeleteAllItems Removes all items from a tab control.
_GUICtrlTabDeleteItem Removes an item from a tab control.
_GUICtrlTabDeselectAll Resets items in a tab control.
_GUICtrlTabGetCurFocus Returns the index of the item that has the focus in a tab control.
_GUICtrlTabGetCurSel Determines the currently selected tab in a tab control.
_GUICtrlTabGetExtendedStyle Retrieves the extended styles that are currently in use for the tab control.
_GUICtrlTabGetItemCount Retrieves the number of tabs in the tab control.
_GUICtrlTabGetItemRECT Retrieves the bounding rectangle for a tab in a tab control.
_GUICtrlTabGetRowCount Retrieves the current number of rows of tabs in a tab control.
_GUICtrlTabGetUnicodeFormat Retrieves the Unicode character format flag for the control.
_GUICtrlTabHighlightItem Sets the highlight state of a tab item.
_GUICtrlTabSetCurFocus Sets the focus to a specified tab in a tab control.
_GUICtrlTabSetCurSel Selects a tab in a tab control.
_GUICtrlTabSetMinTabWidth Sets the minimum width of items in a tab control.
_GUICtrlTabSetUnicodeFormat Sets the Unicode character format flag for the control.
_GUICtrlTreeViewDeleteAllItems Removes all items from a treeview control.
_GUICtrlTreeViewDeleteItem Removes an item and all its children from a treeview control.
_GUICtrlTreeViewExpand Expands or collapses the list of child items associated with the specified parent item, if any.
_GUICtrlTreeViewGetBkColor Gets the text back color of a treeview control.
_GUICtrlTreeViewGetCount Retrieves a count of the items in a treeview control.
_GUICtrlTreeViewGetIndent Retrieves the amount in pixels, that child items are indented relative to their parent items.
_GUICtrlTreeViewGetLineColor Gets the line color of a treeview control.
_GUICtrlTreeViewGetParentHandle Gets the parent handle of item selected (default) or any specified item in treeview control.
_GUICtrlTreeViewGetParentID Gets the parent control ID of item selected (default) or any specified item in treeview control.
_GUICtrlTreeViewGetState Returns the state of the specified treeview item.
_GUICtrlTreeViewGetText Returns the test of the specified treeview item.
_GUICtrlTreeViewGetTextColor Gets the text color of a treeview control.
_GUICtrlTreeViewGetTree Get all items text beginning by the current selected item from the treeview control.
_GUICtrlTreeViewInsertItem Insert a new item into a treeview control.
_GUICtrlTreeViewSetBkColor Sets the back color of a treeview control.
_GUICtrlTreeViewSetIcon Set an icon of the specified treeview item.
_GUICtrlTreeViewSetIndent Sets the width of indentation for a treeview control and redraws the control to reflect the new width.
_GUICtrlTreeViewSetLineColor Sets the line color of a treeview control
_GUICtrlTreeViewSetState Set the state of the specified treeview item.
_GUICtrlTreeViewSetText Set a new text to the specified treeview item.
_GUICtrlTreeViewSetTextColor Sets the text color of a treeview control.
_GUICtrlTreeViewSort Sorts the items of a treeview control.
_HexToString Convert a hex string to a string.
_IE_Example Display a new browser window pre-loaded with documents to be used in IE.au3 examples
_IE_Introduction Display introductory information about IE.au3 in a new browser window
_IE_VersionInfo Returns an array of information about the IE.au3 version
_IEAction Perform any of a set of simply actions on the Browser.
_IEAttach Attach to the first existing instance of Internet Explorer where the search string sub-string matches based on the selected mode.
_IEBodyReadHTML Returns the HTML inside the tag of the document.
_IEBodyReadText Returns the Text inside the tag of the document.
_IEBodyWriteHTML Replaces the HTML inside the tag of the document.
_IECreate Create an Internet Explorer Browser Window.
_IECreateEmbedded Create a Webbrowser object suitable for embedding in an AutoIt GUI with GuiCtrlCreateObj().
_IEDocGetObj Given any DOM object, returns a reference to the associated document object.
_IEDocReadHTML Returns the full HTML source of a document.
_IEDocWriteHTML Replaces the HTML for the entire document.
_IEErrorHandlerDeRegister Disable a registered user COM error handler
_IEErrorHandlerRegister Register and enable a user COM error handler
_IEErrorNotify Specifies whether IE.au3 automatically notifies of Warnings and Errors (to the console)
_IEFormElementCheckBoxSelect Set the value of a specified form element.
_IEFormElementGetCollection Returns a collection object variable representing all Form Elements within a given Form.
_IEFormElementGetObjByName Returns an object reference to a Form Element by name.
_IEFormElementGetValue Returns the value of a given Form Element.
_IEFormElementOptionSelect Set the value of a specified form element.
_IEFormElementRadioSelect Set the value of a specified form element.
_IEFormElementSetValue Set the value of a specified Form Element.
_IEFormGetCollection Returns a collection object variable representing the Forms in the document.
_IEFormGetObjByName Returns an object reference to a Form by name.
_IEFormImageClick Simulate a mouse click on an <input type=image>. Match by sub-string match of alt text, name or src.
_IEFormReset Reset a specified Form.
_IEFormSubmit Submit a specified Form.
_IEFrameGetCollection Returns a collection object containing the frames in a FrameSet or the iFrames on a normal page.
_IEFrameGetObjByName Returns an object reference to a Frame by name.
_IEGetObjByName Returns an object variable by name or id.
_IEHeadInsertEventScript Inserts a Javascript into the Head of the document.
_IEImgClick Simulate a mouse click on an image. Match by sub-string match of alt text, name, or src.
_IEImgGetCollection Returns a collection object variable representing the IMG tags in the document.
_IEIsFrameSet Checks to see if the specified Window contains a FrameSet.
_IELinkClickByIndex Simulate a mouse click on a link by 0-based index (in source order).
_IELinkClickByText Simulate a mouse click on a link with text sub-string matching the string provided.
_IELinkGetCollection Returns a collection object containing all links in the document.
_IELoadWait Wait for a browser page load to complete before returning.
_IELoadWaitTimeout Retrieve or set the current value in milliseconds _IELoadWait will try before timing out.
_IENavigate Directs an existing browser window to navigate to the specified URL.
_IEPropertyGet Returns a select property of the Browser.
_IEPropertySet Set a select property of the Browser.
_IEQuit Close the browser and remove the object reference to it.
_IETableGetCollection Returns a collection object variable representing all the tables in a document.
_IETableWriteToArray Reads the contents of a Table into an array.
_IETagNameAllGetCollection Returns a collection object all elements in the document or document hierarchy in source order.
_IETagNameGetCollection Returns a collection object of all elements in the object with the specified TagName.
_Iif Perform a boolean test within an expression.
_INetExplorerCapable Converts a string to IE(Internet Explorer) capable line
_INetGetSource Gets the source from an URL without writing a temp file.
_INetMail Opens default user's mail client with given address, subject, and body.
_INetSmtpMail Sends an email without using an external email program.
_IsPressed Check if key has been pressed
_MathCheckDiv Checks if NumA is divisable by NumB
_Max Evaluates which of the two numbers is higher.
_Min Evaluates which of the two numbers is lower.
_MouseTrap Confine the Mouse Cursor to specified coords.
_Now Returns the current Date and Time in PC's format.
_NowCalc Returns the current Date and Time in format YYYY/MM/DD HH:MM:SS for use in date calculations.
_NowCalcDate Returns the current Date in format YYYY/MM/DD.
_NowDate Returns the current Date in the Pc's format.
_NowTime Returns the current Time in requested format.
_PathFull Creates a path based on the relative path you provide. The newly created absolute path is returned
_PathMake Creates a path from drive, directory, file name and file extension parts. Not all parts must be passed.
_PathSplit Splits a path into the drive, directory, file name and file extension parts. An empty string is set if a part is missing.
_ProcessGetName Returns a string containing the process name that belongs to a given PID.
_ProcessGetPriority Get the priority of an open process
_Radian Converts degrees to radians.
_ReplaceStringInFile Replaces a string with another string in the given text file (binary won't work!)
_RunDOS Executes a DOS command in a hidden command window.
_SetDate Sets the current date of the system
_SetTime Sets the current time of the system
_Singleton Check if no other occurrence is running.
_StringEncrypt An RC4 based string encryption function.
_StringInsert Inserts a string within another string.
_StringProper Changes a string to proper case, same a =Proper function in Excel
_StringRepeat Repeats a string a specified number of times.
_StringReverse Reverses the contents of the specified string.
_StringToHex Convert a string to a hex string.
_TempFile Generate a name for a temporary file. The file is guaranteed not to exist yet.
_TicksToTime Converts the specified tick amount to hours, minutes, and seconds.
_TimeToTicks Converts the specified hours, minutes, and seconds to ticks.
_viClose Closes a VISA connection to an Instrument/Device
_viExecCommand Send a Command/Query to an Instrument/Device through the VISA interface (GPIB / TCP)
_viFindGpib Send a Command/Query to an Instrument/Device through the VISA interface (GPIB / TCP)
_viGpibBusReset GPIB BUS "reset": Use this function when the GPIB BUS gets stuck for some reason. You might be lucky and resolve the problem by calling this function
_viGTL Go To Local mode: Instruments that accept this command will exit the "Remote Control mode" and go to "Local mode". If the instrument is already in "Local mode" this is simply ignored. Normally, if an instrument does not support this command it will simply stay in the "Remote Control mode"
_viOpen Opens a VISA connection to an Instrument/Device
_viSetAttribute Set any VISA attribute This function, which is called by _viSetTimeout, can ALSO be used to set the other VISA specific attributes. Read the VISA documentation for more information and a list of VISA attributes and their corresponding values.
_viSetTimeout Sets the VISA timeout in MILISECONDS
_WeekNumberISO Calculate the weeknumber of a given date.